﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MAPDavy.Entities;
using MAPDavy.Repository;
using Microsoft.Practices.Unity;

namespace MAPDavy.BusinessLogic
{
    public class ReportBL:IReportBL
    {
        [Dependency]
        public IReportRepository ReportRepository { get; set; }

        public List<Report> GetAllFromReport()
        {
            return ReportRepository.GetAllFromReport();
        }

        public Report GetFromReportById(int id)
        {
            return ReportRepository.GetFromReportById(id);
        }
    }
}
